package com.zteits.gov.monitor.websocket.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * Copyright: Copyright (c) 2018 zteits
 *
 * @ClassName: JSONUtil.java
 * @Description:
 * @version: v1.0.0
 * @author: jingjq
 * @date: 2018年09月04日 10:08
 */
public class JSONUtil {

    public static String toJSONString(Object object) {
        return JSON.toJSONString(object, SerializerFeature.WriteDateUseDateFormat);
    }
}
